package com.technoorbit.vbreakup;


import android.app.TabActivity;
import android.content.Intent;
import android.graphics.drawable.Drawable;
import android.widget.TabHost;


public class Tabs extends TabActivity{

	
	public void CreateTab(String tabName,String tabSpecs,Drawable icon,Intent intent)
	{
        TabHost tabHost = getTabHost();  // The activity TabHost
        TabHost.TabSpec spec;  // Resusable TabSpec for each tab
        spec = tabHost.newTabSpec(tabName).setIndicator(tabSpecs,icon).setContent(intent);
        tabHost.addTab(spec);
	}
}
